wayland: Stop using gdk_get_program_class
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2017 04:18:03 +0000 (23:18 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2017 04:18:03 +0000 (23:18 -0500)
This is an abuse, at best. If we need to pass the
app id down here, lets pass the app id.

gdk/wayland/gdkwindow-wayland.c

index b07f0f80fbed3754add15aad4757969d072900e8..9d725bc034635a172018688a7c3a2e89bee1898b 100644 (file)
@@ -1472,8 +1472,6 @@ gdk_wayland_window_create_xdg_toplevel (GdkWindow *window)
   impl->initial_fullscreen_output = NULL;
 
   app_id = g_get_prgname ();
-  if (app_id == NULL)
-    app_id = gdk_get_program_class ();
 
   zxdg_toplevel_v6_set_app_id (impl->display_server.xdg_toplevel, app_id);